<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login Box HTML Code - www.PSDGraphics.com</title>

<link href="login-box.css" rel="stylesheet" type="text/css" />
<script>
	function validar (){
	
		var u = document.f1.usuario.value;
		var p = document.f1.password.value;
		
		if (u == "" && p == ""){
		alert("Ingrese Usuario y Password");
		return false;
		}else{
		if (u == ""){
		alert("Ingrese Usuario");
		return false;
		}
		if (p == ""){
		alert("Ingrese Password");
		return false;
		}
		}			
		
		return true;
}
</script>
</head>

<body>


<div style="padding: 100px 0 0 550px;">


<div id="login-box">

<h2>Login</h2>
Acceso al Sistema de Logistica
<br />
<br /><form name="f1" method="post" action="LoginServlet" onsubmit="return validar();">
   <div id="login-box-name" style="margin-top:20px;">Usuario:</div><div id="login-box-field" style="margin-top:20px;"><input name="usuario" class="form-login" title="Username" value="" size="30" maxlength="2048" /></div>
<div id="login-box-name">Password:</div><div id="login-box-field"><input name="password" type="password" class="form-login" title="Password" value="" size="30" maxlength="2048" /></div>
<br />
<span class="login-box-options"><input type="checkbox" name="1" value="1"> 
Remember Me <a href="#" style="margin-left:30px;">Olvid&oacute; su password?</a></span>
<br />
<br />
<input type="submit" name="button" id="button" value="Ingresar" />
</form>






</div>

</div>













</body>
</html>
